package com.wangce.entity;

/**
 * ClassName: Detail
 * Description:
 * date: 2021/11/22 9:30
 *
 * @author 凡人
 * @since JDK 1.8
 */
public class Detail {
    private Integer id;
    private String code;
    private String name;//名称
    private String model;//类型
    private Double price;//单价
    private Integer num;//数量
    private String content;//备注
    private Integer oid; //订单主键

    @Override
    public String toString() {
        return "Detail{" +
                "id=" + id +
                ", code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", model='" + model + '\'' +
                ", price=" + price +
                ", num=" + num +
                ", content='" + content + '\'' +
                ", oid=" + oid +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public Detail() {
    }

    public Detail(Integer id, String code, String name, String model, Double price, Integer num, String content, Integer oid) {
        this.id = id;
        this.code = code;
        this.name = name;
        this.model = model;
        this.price = price;
        this.num = num;
        this.content = content;
        this.oid = oid;
    }
}
